import { BuildOptions, DataTypes, INTEGER, Model, Sequelize, STRING } from "sequelize";
import myseq from "../db/db";

class Person extends Model<Person> {
    public name: string;
    public gender: string;
    public homeWorld: string;
}
Person.init({
    name: STRING(126),
    gender: STRING(126),
    homeWorld: STRING(126),
}, {
    tableName: "Person",
    sequelize: myseq
});
export default Person;
